<?php
class VCheckBox extends VInput{
    public function __toString(){
        $html  = "<label>{$this->label}</label>";
        $html .= "<input type=\"checkbox\" value=\"{$this->valor}\" name=\"{$this->nome}\" id=\"{$this->nome}\" {$this->tag} >";
        return $html;
    }
}

?>